package com.wisdytech.linkdcs.account.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.wisdytech.app.produceExecute.vo.EqAccountVO;
import com.wisdytech.linkdcs.account.model.TtEqAccount;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface TtEqAccountDao extends BaseMapper<TtEqAccount>{

    List<Map<String, Object>> listEquipInfoByFilter(Map<String, Object> params);

    Map<String, Object> getEquipInfoByCode(String equipCode);

    void updateEquipInfo(TtEqAccount ttEqAccount);

	List<EqAccountVO> listEquipByLineAndOp(Map<String, Object> params);

	List<EqAccountVO> listEqProduceByModelCode(@Param("equipModelCode")String equipModelCode,@Param("opCode")String opCode);

	List<EqAccountVO> listEquipAidByEqCode(String equipCode);
    List<TtEqAccount> getAllEquipAreaByAreaId(@Param("locationId")String locationId);
}
